4D Internet Commands v12.1MSG_Delete | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                    
                        
    
    
                         | 
                
                    
                         
    4D Internet Commands v12.1
 
MSG_Delete 
 
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MSG_Delete ( fileName ; folder ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| fileName | Text | 
             
         | 
        Filename (path defaults to message folder) | |||||
| folder | Integer | 
             
         | 
        0 = Message Folder, 1 = Attachment Folder | |||||
| Function result | Integer | 
             
         | 
        Error Code | |||||
The MSG_Delete command deletes a local file.
fileName is the name of the file or the full path of the file to delete. If only a filename is given, the folder parameter is taken into account based on the following:
Compatibility note (version 6.8.1): If the MSG_SetPrefs command is not used, the POP3_SetPrefs msgFolder and attachFolder parameters are used; if MSG_SetPrefs is used, the POP3_SetPrefs parameters are ignored.
Warning: This command will delete ANY file passed to it. Be very careful when using this command.
	Product:  4D Internet Commands
	Theme:  IC Downloaded Mail
	Number:  
        88948
        
        
        
	
	Modified:  4D Internet Commands 6.8.1